Ticketack\Core\Models\ArticleVariant S

Total Complexity 44
Dependencies 8
Dependents 1
Total lines 200
Lines of code 123
Logical lines of code 60
Comment lines 12
Methods 17
Properties 13

Methods 17

Method Rating Maintainability Complexity Lines of code
__construct()
B
43 17 41
jsonSerialize()
S
55 2 20
name()
S
70 3 6
has_stock_for_salepoint()
S
68 3 8
set_stocks_by_salepoint()
S
66 3 8
stock_factor()
S
78 2 3
gtin()
S
78 2 3
has_id()
S
78 2 3
sku()
S
78 2 3
_id()
S
82 1 3
stocks()
S
82 1 3
set_id()
S
77 1 4
price()
S
74 1 4
value()
S
74 1 4
purchasing_price()
S
74 1 4
is_variable_price()
S
82 1 3
vat()
S
82 1 3